package mcsm.Model;

public class VIP extends Person{
	
	private double ticket;
	private String area;
	private String phone;
	
	public VIP(String ID,String name,String password, String phone, String area){
		super(ID,name,password,0);
		ticket=0.0;
		this.phone = phone;
		this.area = area;
	}
	
	public void addTicket(double alterTicket){
		ticket+=alterTicket;
	}
	
	public void setTicket(double ticket){
		this.ticket=ticket;
	}
	
	public void clearTicket(){
		ticket=0;
	}
	
	public double getTicket(){
		return ticket;
	}
	
	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}
	
	
	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

}
